import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import { Modal } from "antd";
import "./_style.less";
/**
 *
 * @param param
 * isOpen true 打开 false 关闭
 * content 文本
 *
 * isMaskClose 是否模态框关闭 默认false
 * width 文本框宽度
 * @returns
 */
const PageLoading = (props) => {
    const { content, isOpen, isMaskClose = false, width = 200 } = props;
    return (_jsxs(Modal, { open: isOpen, footer: null, centered: true, maskClosable: isMaskClose, closable: false, title: null, width: width, bodyStyle: { background: "none" }, className: "dot-body", wrapClassName: "spin-example", children: [content && _jsx("p", { children: content }), _jsxs("div", { className: "loadings", children: [_jsx("div", {}), _jsx("div", {}), _jsx("div", {})] })] }));
};
export default PageLoading;
